package com.chance.cc.crawler.development.command.node.jingdong;

import com.chance.cc.crawler.development.command.job.domain.jingdong.JDH5DetailCrawlerScheduleJob;
import com.chance.cc.crawler.development.command.node.CrawlerNodeCommand;

/**
 * @author bx
 * @date 2020/12/8 0008 13:37
 */
public class JDCrawlerNodeOperator {

    public static void main(String[] args) {
        CrawlerNodeCommand crawlerNodeCommand = new CrawlerNodeCommand("192.168.1.215",9505);

//        crawlerNodeCommand.nodeStatus();

//        crawlerNodeCommand.killCrawler(JDH5CommentCrawlerScheduleJob.jdCrawlerJob(JDH5CommentCrawlerScheduleJob.domainId));
        crawlerNodeCommand.killCrawler(JDH5DetailCrawlerScheduleJob.jdCrawlerJob(JDH5DetailCrawlerScheduleJob.domainId));
//
        crawlerNodeCommand.nodeStatus();

    }
}
